package com.esms.po;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName t_kpi_assesment
 */
public class TKpiAssesment implements Serializable {
    /**
     * id
     */
    private Integer tId;

    /**
     * 员工id，外键
     */
    private Integer tEid;

    /**
     * 部门id，外键
     */
    private Integer tDid;

    /**
     * 岗位id，外键
     */
    private Integer tPid;

    /**
     * 员工工号
     */
    private String tEaccount;

    /**
     * 员工姓名
     */
    private String tEname;

    /**
     * 部门名称
     */
    private String tDname;

    /**
     * 上级部门,对应department中的d_gsid,用于将来分组
     */
    private Integer tDgsid;

    /**
     * 上级部门名称
     */
    private String tDgname;

    /**
     * 岗位名称
     */
    private String tPname;

    /**
     * 同级评价分数
     */
    private String tAscore;

    /**
     * 下级对上级评价分数
     */
    private String tSscore;

    /**
     * 上级对下级评价分数
     */
    private String tTscore;

    /**
     * 满意度分数
     */
    private String tGscore;

    /**
     * 周纪实分数
     */
    private String tXscore;

    /**
     * 工作业绩考核分数
     */
    private String tQscore;

    /**
     * 加分项分数
     */
    private String tFscore;

    /**
     * 勤考核表分数
     */
    private String tHscore;

    /**
     * 分数汇总,上面的分数加起来放的这里
     */
    private String tScoresum;

    /**
     * 创建时间
     */
    private Date tCreateTime;

    /**
     * 更新时间
     */
    private Date tUpdateTime;

    /**
     * 归属季度
     */
    private String tCreateQuarter;

    /**
     * 备用字段
     */
    private String wByzd;

    /**
     * 备用字段1
     */
    private String wByzd1;

    /**
     * 备用字段2
     */
    private String wByzd2;

    /**
     * 编制类型
     */
    private String prepareType;

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    public Integer gettId() {
        return tId;
    }

    /**
     * id
     */
    public void settId(Integer tId) {
        this.tId = tId;
    }

    /**
     * 员工id，外键
     */
    public Integer gettEid() {
        return tEid;
    }

    /**
     * 员工id，外键
     */
    public void settEid(Integer tEid) {
        this.tEid = tEid;
    }

    /**
     * 部门id，外键
     */
    public Integer gettDid() {
        return tDid;
    }

    /**
     * 部门id，外键
     */
    public void settDid(Integer tDid) {
        this.tDid = tDid;
    }

    /**
     * 岗位id，外键
     */
    public Integer gettPid() {
        return tPid;
    }

    /**
     * 岗位id，外键
     */
    public void settPid(Integer tPid) {
        this.tPid = tPid;
    }

    /**
     * 员工工号
     */
    public String gettEaccount() {
        return tEaccount;
    }

    /**
     * 员工工号
     */
    public void settEaccount(String tEaccount) {
        this.tEaccount = tEaccount;
    }

    /**
     * 员工姓名
     */
    public String gettEname() {
        return tEname;
    }

    /**
     * 员工姓名
     */
    public void settEname(String tEname) {
        this.tEname = tEname;
    }

    /**
     * 部门名称
     */
    public String gettDname() {
        return tDname;
    }

    /**
     * 部门名称
     */
    public void settDname(String tDname) {
        this.tDname = tDname;
    }

    /**
     * 上级部门,对应department中的d_gsid,用于将来分组
     */
    public Integer gettDgsid() {
        return tDgsid;
    }

    /**
     * 上级部门,对应department中的d_gsid,用于将来分组
     */
    public void settDgsid(Integer tDgsid) {
        this.tDgsid = tDgsid;
    }

    /**
     * 上级部门名称
     */
    public String gettDgname() {
        return tDgname;
    }

    /**
     * 上级部门名称
     */
    public void settDgname(String tDgname) {
        this.tDgname = tDgname;
    }

    /**
     * 岗位名称
     */
    public String gettPname() {
        return tPname;
    }

    /**
     * 岗位名称
     */
    public void settPname(String tPname) {
        this.tPname = tPname;
    }

    /**
     * 同级评价分数
     */
    public String gettAscore() {
        return tAscore;
    }

    /**
     * 同级评价分数
     */
    public void settAscore(String tAscore) {
        this.tAscore = tAscore;
    }

    /**
     * 下级对上级评价分数
     */
    public String gettSscore() {
        return tSscore;
    }

    /**
     * 下级对上级评价分数
     */
    public void settSscore(String tSscore) {
        this.tSscore = tSscore;
    }

    /**
     * 上级对下级评价分数
     */
    public String gettTscore() {
        return tTscore;
    }

    /**
     * 上级对下级评价分数
     */
    public void settTscore(String tTscore) {
        this.tTscore = tTscore;
    }

    /**
     * 满意度分数
     */
    public String gettGscore() {
        return tGscore;
    }

    /**
     * 满意度分数
     */
    public void settGscore(String tGscore) {
        this.tGscore = tGscore;
    }

    /**
     * 周纪实分数
     */
    public String gettXscore() {
        return tXscore;
    }

    /**
     * 周纪实分数
     */
    public void settXscore(String tXscore) {
        this.tXscore = tXscore;
    }

    /**
     * 工作业绩考核分数
     */
    public String gettQscore() {
        return tQscore;
    }

    /**
     * 工作业绩考核分数
     */
    public void settQscore(String tQscore) {
        this.tQscore = tQscore;
    }

    /**
     * 加分项分数
     */
    public String gettFscore() {
        return tFscore;
    }

    /**
     * 加分项分数
     */
    public void settFscore(String tFscore) {
        this.tFscore = tFscore;
    }

    /**
     * 勤考核表分数
     */
    public String gettHscore() {
        return tHscore;
    }

    /**
     * 勤考核表分数
     */
    public void settHscore(String tHscore) {
        this.tHscore = tHscore;
    }

    /**
     * 分数汇总,上面的分数加起来放的这里
     */
    public String gettScoresum() {
        return tScoresum;
    }

    /**
     * 分数汇总,上面的分数加起来放的这里
     */
    public void settScoresum(String tScoresum) {
        this.tScoresum = tScoresum;
    }

    /**
     * 创建时间
     */
    public Date gettCreateTime() {
        return tCreateTime;
    }

    /**
     * 创建时间
     */
    public void settCreateTime(Date tCreateTime) {
        this.tCreateTime = tCreateTime;
    }

    /**
     * 更新时间
     */
    public Date gettUpdateTime() {
        return tUpdateTime;
    }

    /**
     * 更新时间
     */
    public void settUpdateTime(Date tUpdateTime) {
        this.tUpdateTime = tUpdateTime;
    }

    /**
     * 归属季度
     */
    public String gettCreateQuarter() {
        return tCreateQuarter;
    }

    /**
     * 归属季度
     */
    public void settCreateQuarter(String tCreateQuarter) {
        this.tCreateQuarter = tCreateQuarter;
    }

    /**
     * 备用字段
     */
    public String getwByzd() {
        return wByzd;
    }

    /**
     * 备用字段
     */
    public void setwByzd(String wByzd) {
        this.wByzd = wByzd;
    }

    /**
     * 备用字段1
     */
    public String getwByzd1() {
        return wByzd1;
    }

    /**
     * 备用字段1
     */
    public void setwByzd1(String wByzd1) {
        this.wByzd1 = wByzd1;
    }

    /**
     * 备用字段2
     */
    public String getwByzd2() {
        return wByzd2;
    }

    /**
     * 备用字段2
     */
    public void setwByzd2(String wByzd2) {
        this.wByzd2 = wByzd2;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TKpiAssesment other = (TKpiAssesment) that;
        return (this.gettId() == null ? other.gettId() == null : this.gettId().equals(other.gettId()))
            && (this.gettEid() == null ? other.gettEid() == null : this.gettEid().equals(other.gettEid()))
            && (this.gettDid() == null ? other.gettDid() == null : this.gettDid().equals(other.gettDid()))
            && (this.gettPid() == null ? other.gettPid() == null : this.gettPid().equals(other.gettPid()))
            && (this.gettEaccount() == null ? other.gettEaccount() == null : this.gettEaccount().equals(other.gettEaccount()))
            && (this.gettEname() == null ? other.gettEname() == null : this.gettEname().equals(other.gettEname()))
            && (this.gettDname() == null ? other.gettDname() == null : this.gettDname().equals(other.gettDname()))
            && (this.gettDgsid() == null ? other.gettDgsid() == null : this.gettDgsid().equals(other.gettDgsid()))
            && (this.gettDgname() == null ? other.gettDgname() == null : this.gettDgname().equals(other.gettDgname()))
            && (this.gettPname() == null ? other.gettPname() == null : this.gettPname().equals(other.gettPname()))
            && (this.gettAscore() == null ? other.gettAscore() == null : this.gettAscore().equals(other.gettAscore()))
            && (this.gettSscore() == null ? other.gettSscore() == null : this.gettSscore().equals(other.gettSscore()))
            && (this.gettTscore() == null ? other.gettTscore() == null : this.gettTscore().equals(other.gettTscore()))
            && (this.gettGscore() == null ? other.gettGscore() == null : this.gettGscore().equals(other.gettGscore()))
            && (this.gettXscore() == null ? other.gettXscore() == null : this.gettXscore().equals(other.gettXscore()))
            && (this.gettQscore() == null ? other.gettQscore() == null : this.gettQscore().equals(other.gettQscore()))
            && (this.gettFscore() == null ? other.gettFscore() == null : this.gettFscore().equals(other.gettFscore()))
            && (this.gettHscore() == null ? other.gettHscore() == null : this.gettHscore().equals(other.gettHscore()))
            && (this.gettScoresum() == null ? other.gettScoresum() == null : this.gettScoresum().equals(other.gettScoresum()))
            && (this.gettCreateTime() == null ? other.gettCreateTime() == null : this.gettCreateTime().equals(other.gettCreateTime()))
            && (this.gettUpdateTime() == null ? other.gettUpdateTime() == null : this.gettUpdateTime().equals(other.gettUpdateTime()))
            && (this.gettCreateQuarter() == null ? other.gettCreateQuarter() == null : this.gettCreateQuarter().equals(other.gettCreateQuarter()))
            && (this.getwByzd() == null ? other.getwByzd() == null : this.getwByzd().equals(other.getwByzd()))
            && (this.getwByzd1() == null ? other.getwByzd1() == null : this.getwByzd1().equals(other.getwByzd1()))
            && (this.getwByzd2() == null ? other.getwByzd2() == null : this.getwByzd2().equals(other.getwByzd2()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((gettId() == null) ? 0 : gettId().hashCode());
        result = prime * result + ((gettEid() == null) ? 0 : gettEid().hashCode());
        result = prime * result + ((gettDid() == null) ? 0 : gettDid().hashCode());
        result = prime * result + ((gettPid() == null) ? 0 : gettPid().hashCode());
        result = prime * result + ((gettEaccount() == null) ? 0 : gettEaccount().hashCode());
        result = prime * result + ((gettEname() == null) ? 0 : gettEname().hashCode());
        result = prime * result + ((gettDname() == null) ? 0 : gettDname().hashCode());
        result = prime * result + ((gettDgsid() == null) ? 0 : gettDgsid().hashCode());
        result = prime * result + ((gettDgname() == null) ? 0 : gettDgname().hashCode());
        result = prime * result + ((gettPname() == null) ? 0 : gettPname().hashCode());
        result = prime * result + ((gettAscore() == null) ? 0 : gettAscore().hashCode());
        result = prime * result + ((gettSscore() == null) ? 0 : gettSscore().hashCode());
        result = prime * result + ((gettTscore() == null) ? 0 : gettTscore().hashCode());
        result = prime * result + ((gettGscore() == null) ? 0 : gettGscore().hashCode());
        result = prime * result + ((gettXscore() == null) ? 0 : gettXscore().hashCode());
        result = prime * result + ((gettQscore() == null) ? 0 : gettQscore().hashCode());
        result = prime * result + ((gettFscore() == null) ? 0 : gettFscore().hashCode());
        result = prime * result + ((gettHscore() == null) ? 0 : gettHscore().hashCode());
        result = prime * result + ((gettScoresum() == null) ? 0 : gettScoresum().hashCode());
        result = prime * result + ((gettCreateTime() == null) ? 0 : gettCreateTime().hashCode());
        result = prime * result + ((gettUpdateTime() == null) ? 0 : gettUpdateTime().hashCode());
        result = prime * result + ((gettCreateQuarter() == null) ? 0 : gettCreateQuarter().hashCode());
        result = prime * result + ((getwByzd() == null) ? 0 : getwByzd().hashCode());
        result = prime * result + ((getwByzd1() == null) ? 0 : getwByzd1().hashCode());
        result = prime * result + ((getwByzd2() == null) ? 0 : getwByzd2().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tId=").append(tId);
        sb.append(", tEid=").append(tEid);
        sb.append(", tDid=").append(tDid);
        sb.append(", tPid=").append(tPid);
        sb.append(", tEaccount=").append(tEaccount);
        sb.append(", tEname=").append(tEname);
        sb.append(", tDname=").append(tDname);
        sb.append(", tDgsid=").append(tDgsid);
        sb.append(", tDgname=").append(tDgname);
        sb.append(", tPname=").append(tPname);
        sb.append(", tAscore=").append(tAscore);
        sb.append(", tSscore=").append(tSscore);
        sb.append(", tTscore=").append(tTscore);
        sb.append(", tGscore=").append(tGscore);
        sb.append(", tXscore=").append(tXscore);
        sb.append(", tQscore=").append(tQscore);
        sb.append(", tFscore=").append(tFscore);
        sb.append(", tHscore=").append(tHscore);
        sb.append(", tScoresum=").append(tScoresum);
        sb.append(", tCreateTime=").append(tCreateTime);
        sb.append(", tUpdateTime=").append(tUpdateTime);
        sb.append(", tCreateQuarter=").append(tCreateQuarter);
        sb.append(", wByzd=").append(wByzd);
        sb.append(", wByzd1=").append(wByzd1);
        sb.append(", wByzd2=").append(wByzd2);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    public String getPrepareType() {
        return prepareType;
    }

    public void setPrepareType(String prepareType) {
        this.prepareType = prepareType;
    }
}